import Vue from 'vue'
import Vuex from 'vuex'
import applys from './modules/applys'
import hotels from './modules/hotels'
import common from './modules/common'

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'


const store =  new Vuex.Store({
  modules: {
    applys,
    hotels,
    common
  },
  strict: debug,
})

export default store